<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <link rel="stylesheet" type="text/css" href="css/index.css">

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-3.3.1.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    <!--导入布局js，共享header和footer-->
    <script type="text/javascript" src="js/include.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script>
        $(function () {
            $("#btntijiao1").click(function () {
                $.post("modifyFMServlet",$("#allneirong").serialize(),function (data) {
                })
            })

        })
    </script>
</head>
<body>
<div id="header"></div>
<div style="margin: 20px auto; width: 400px">
    <form id="allneirong" name="allneirong" class="form-inline" style="width: auto">
        <li style="color: red;font-size: 16px">根据编号修改商品库存信息</li>
<table class="table table-hover" style="margin-top: 40px">
    <tr>
        <td>
            <label for="id">id编号：</label>
        </td>
        <td>
            <input type="text" class="form-control" id="id" name="id" placeholder="id编号">
        </td>
    </tr>
</table>
        <li style="color: red;font-size: 14px">修改内容信息如下：</li>
        <table class="table table-hover" style="margin-top: 40px">
    <tr>
        <td>
            <label for="name">产品名称</label>
        </td>
        <td>
            <input type="text" class="form-control" id="name" name="name" placeholder="商品名称">
        </td>
    </tr>
    <tr>
        <td>
            <label for="amount">产品数量</label>
        </td>
        <td>
            <input type="text" class="form-control" id="amount" name="amount" placeholder="数量">
        </td>
    </tr>
    <tr>
        <td>
            <label for="price">价格/kg</label>
        </td>
        <td>
            <input type="text" class="form-control" id="price" name="price" placeholder="价格/kg">
        </td>
    </tr>
    <tr>
        <td>
            <label for="productionDate">生产日期</label>
        </td>
        <td>
            <input type="date" class="form-control" id="productionDate" name="productionDate" placeholder="生产日期">
        </td>
    </tr>
    <tr>
        <td>
            <label for="shelflife">保质期</label>
        </td>
        <td>
            <input type="text" class="form-control" id="shelflife" name="shelflife" placeholder="保质期">
        </td>
    </tr>
    <tr>
        <td>
            <label for="manufacturer">供货商</label>
        </td>
        <td>
            <input type="text" class="form-control" id="manufacturer" name="manufacturer" placeholder="供货商">
        </td>
    </tr>
    <tr>
        <td>
            <label for="phone">电话号码</label>
        </td>
        <td>
            <input type="text" class="form-control" id="phone" name="phone" placeholder="电话号码">
        </td>
    </tr>
</table>
        </from>
        <button id="btntijiao1" name="btntijiao1" style="margin-top: auto;width: 250px" type="submit" class="btn btn-primary">提交</button>

</form>
</div>
</body>
</html>